﻿<cfcomponent 
	displayname="public.service.helper.tagHeader" 
	hint="CFHeader Tag Operation Helper" 
	output="false">
	
	<cffunction name="init" access="public" returntype="public.service.helper.tagHeader" hint="初始化对象">
		<cfreturn this />
	</cffunction>
	
	<cffunction name="noCache" access="public" returntype="void" hint="设置 HTTP Header 信息, 禁止客户端缓存">
		
		<cfheader name="Cache-Control" value="no-cache,no-store,must-revalidate">
		<cfheader name="Pragma" value="no-cache">
		<cfheader name="Expires" value="#getHttpTimeString(now())#">
		
	</cffunction>
	
</cfcomponent>